import axios from 'axios'
export function searchKeyword (keyword) {
  const url = `https://ynwx.zgwyzxw.cn/index.php/home/city/search2?key=${keyword}&cityId=3`
  return axios({
    method: 'GET',
    url: url
  }).then((res) => {
    return Promise.resolve(res.data)
  }).catch((err) => {
    return Promise.reject(err)
  })
}
